package org.awa.demo.opencv.gis.bean;

import lombok.Getter;
import lombok.ToString;
import org.awa.demo.opencv.entity.GeoPolygonBuildEntity;
import org.awa.demo.opencv.entity.GeoPolygonRoadEntity;
import org.locationtech.jts.geom.MultiLineString;

/**
 * @author xxf
 */
@Getter
@ToString
public class RoadOrder {

    private String theGeom;

    private Double leqt;
    private MultiLineString geom;

    public RoadOrder(GeoPolygonRoadEntity road){
        this.theGeom = road.getGeom();
    }

    public void setLeqt(Double leqt){
        this.leqt = leqt;
    }

    public void setGeom(MultiLineString geom) {
        this.geom = geom;
    }
}
